home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Yahoo Messenger 2.xpl < prev   
Text File  |  1999-09-13  |  1KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Instant Messaging\Yahoo Messenger"
  5. "NAME"="General Settings"
  6. "VERSION"="1.09"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"=""RETURN" sends new message"
  9. "DESCRIPTION 1"="This setting determines if Yahoo! Messenger drops to the next line in Instant Message windows when ENTER or RETURN is pressed."
  10. "DESCRIPTION 2"="If checked, the ENTER or RETURN key will send what you have typed immediately.  If unchecked, it will drop to the next line."
  11. "DESCRIPTION 3"="Select your preference by checking or unchecking the box above and clicking 'Apply Changes.'"
  12. "DESCRIPTION 4"="Yahoo! Messenger may be obtained at http://messenger.yahoo.com/."
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16. "COMMENT 2"="Thanks to CptSiskoX for the settings, the idea and his help."
  17.  
  18.  
  19. sP="HKCU\Software\Yahoo\Pager\"
  20. sV1="IM Enter Sends Message"
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(sP) then
  23.     i=RegReadValue(sP & sV1)
  24.     if i=1 then SetUiElement 1,true
  25.  else
  26.     Call Disable()
  27.  end if
  28. End Sub
  29.  
  30.  
  31. Sub Plugin_CheckData(ElementIndex)
  32. End Sub
  33.  
  34.  
  35.  
  36. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  37.  b=GetUIElement(1)
  38.  if b=true then
  39.     i="1"
  40.  else
  41.     i="0"
  42.  end if
  43.  Call RegWriteValue(sP & sV1,i,2)
  44.  
  45. End Sub
  46.  
  47.  
  48. Sub Plugin_Terminate 
  49. End Sub
  50.  
  51.  
  52.  
  53.